arm/gic-v3: Do early GICD ioremap and clean up
authorShanker Donthineni <shankerd@codeaurora.org>
Mon, 27 Jun 2016 20:33:34 +0000 (15:33 -0500)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 14 Jul 2016 14:06:16 +0000 (15:06 +0100)
commitc35a2934e9264077b0dbc222efed309630c246b9
treed150dc336a224d07c92a722951634c2e4f7de0c9
parent7ff488b8d97f53bb69104b1d52ede3d62e7caf45
arm/gic-v3: Do early GICD ioremap and clean up

For ACPI based XEN boot, the GICD region needs to be accessed inside
the function gicv3_acpi_init() in later patch. There is a duplicate
panic() message, one in the DTS probe and second one in the ACPI probe
path. For these two reasons, move the code that validates the GICD base
address and does the region ioremap to a separate function. The
following patch accesses the GICD region inside gicv3_acpi_init() for
finding per CPU Redistributor size.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3.c